home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Zone 96
/
PC Zone #096.7z
/
Dppcz1200.mdf
/
Demos
/
Gunlok
/
data1.cab
/
Program_Executable_Files
/
scripts
/
walking_mine.gsh
< prev
next >
Wrap
Text File
|
2000-09-09
|
2KB
|
97 lines
// defines Walking Mine
////////////////////////////////////////////////////////////////////////////////////
// start wrapper - prevent multiple inclusions or recursive inclusions
//(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
#ifndef INCLUDED_WALKING_MINE_GSH
#define INCLUDED_WALKING_MINE_GSH
////////////////////////////////////////////////////////////////////////////////////
#include "defaults.gsh"
#include "minefrag.gsh"
hierarchy Hcy_Minebot
{
file "units\minebot.RIF"
name "minebot"
hotspot ""
}
character Chr_Walking_Mine : Chr_DefaultBaddie
{
turning speed 0.3
walking speed 1
strength 20 // can absorb a small amount of damage
aim 0 // spot on!
sight angle 30 // in degrees
sight range 20 // in metres
hearing range 15 // in metres
aggression 1 // from 0 to 1
always cpu controlled yes
vision cone no
blob shadow spider
}
character Chr_mini_Walking_Mine : Chr_Walking_Mine
{
size 0.7
}
role Rol_Walking_Mine : Rol_DefaultRobot
{
shape Hcy_Minebot
character Chr_Walking_Mine
identifier "minebot"
recon name heavy_minebot recon
destructibility Frg_Minebot
ai minebot
limit 80 // damage done
}
role Rol_Smartbot : Rol_DefaultRobot
{
shape Hcy_Minebot
character Chr_Walking_Mine
identifier "smartbot"
recon name heavy_minebot recon
destructibility Frg_Minebot
ai swarm
limit 60 // damage done
}
character Chr_Mini_Minebot : Chr_mini_Walking_Mine
{
sight range 15 // in metres
}
role Rol_Mini_Minebot : Rol_DefaultRobot
{
shape Hcy_Minebot
character Chr_Mini_Minebot
identifier "mini_minebot"
recon name minebot recon
destructibility Frg_Minebot
ai minebot
limit 30 // damage done
}
role Rol_mini_Smartbot : Rol_DefaultRobot
{
shape Hcy_Minebot
character Chr_mini_Walking_Mine
identifier "mini_smartbot"
recon name minebot recon
destructibility Frg_Minebot
ai swarm
limit 30 // damage done
}
////////////////////////////////////////////////////////////////////////////////////
// end wrapper - for preventing multiple or recursive inclusions
#endif // !INCLUDED_WALKING_MINE_GSH